package com.zyy.command.demo01;

/**
 * @Description: 命令接收者
 */
public class SeniorChef {
    //大厨师类 是命令的Receiver
    public void makeFood(int num, String foodName) {
        System.out.println(num + "份" + foodName + "完成");
    }
}
